"""
获取玩家数据
"""

import g


def getApiData():
    """
    统一定义参数类型！！不定义会报错
    """
    return []


async def proc(uid, gateway_url, data, *args, **kwargs):
    _res = {
        "s": 1,
        "d": {
            "userinfo": await g.Model.UserInfo.getGud(uid)
        }
    }

    return _res


if __name__ == '__main__':
    proc(1, 2, 3)
